package com.zx.erp.sys.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 作者信息
 * @since 2021-11-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Job implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 职位id
     */
    @TableId(value = "JOB_ID", type = IdType.AUTO)
    private Integer jobId;

    /**
     * 职位名称
     */
    @TableField("JOB_NAME")
    private String jobName;

    /**
     * 职位状态
     */
    @TableField("JOB_STATE")
    private String jobState;

    /**
     * 部门id
     */
    @TableField("JOB_DEPT_ID")
    private Integer jobDeptId;
    //自定义的属性
    @TableField(exist = false)
    private Dept dept;

}
